#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :reverse_arr_35.py
# @Time      :2020/6/23 15:34
# @Author    :Administrator


def reverse_arr(arr):
    len_arr = len(arr)
    for i in range(0, len_arr // 2):
        arr[i], arr[len_arr - i - 1] = arr[len_arr - i - 1], arr[i]
    return arr


arr = [10, 11, 12, 13, 14, 15]
# print(arr[::-1])
# print(arr.reverse())
print(reverse_arr(arr))
